package com.flyan.game.motafx.component;

import com.almasb.fxgl.entity.component.Component;

/**
 * 魔塔实体
 *
 * @author flyan
 * @version 1.0
 * @email flyan_by_chenu@sina.com
 * @since 2025/2/5
 */
public abstract class MotaComponent extends Component {

    /**
     * 发生碰撞交互
     *
     * @param other 和当前实体发生碰撞的实体
     * @return 是否产生交互，默认没有
     */
    public boolean collision (MotaComponent other) {
        return false;
    }

}
